package com.ht.dao;

import java.util.List;

import com.ht.model.Person;

public interface PersonDao {
	
	public int insertPerson(Person person);
	
	public Person getPersonByName(String name);

	public int deletePerson(Person person);

	public int updatePerson(Person person);
		
	public Person getPersonById(Person person);
		
	public List selectByCon(Person person,int curPage ,int pageSize);
		
	public int getRecordCount(Person person);	
	
	public Person getPersonByDept(String dept);
	
	
}
